package com.yonyou.cyxdms.sysAuth.service.vo.weChat;

/**
 * Title: HttpParame Description: 请求参数
 * @author luzizhi
 */
public class HttpParame {

	// 应用唯一标识
	public static final String APPID = "appid";

	/**
	 * 密匙
	 */
	public static final String SECRET = "secret";

	/**
	 * 回调地址
	 */
	public static final String REDIRECT_URI = "redirect_uri";

	/**
	 * 网页授权回调地址
	 */
	public static final String AUTHORIZATION_URL = "https://open.weixin.qq.com/connect/qrconnect?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect";

	/**
	 * 通过code获取access_token
	 */
	public static final String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

	/**
	 * 通过acessToken和openid获取微信人员信息
	 */
	public static final String ACCESS_INFO_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
}
